 class Hello {
    public static void main(String[] args) {
        System.out.println(" I love java.");
        Student student1=new Student();
        student1.speak();
    }
}

class Student{
    public void speak(){
        System.out.println("I am a student.");
    }
}